/**
 * 
 */
package com.udc.medLine.entity;

import java.util.Date;
import java.util.List;

/**
 * @author Odair Kreuzberg
 *
 */
public class Venda {

	/*----------------------------------------------------------
	 * ATRIBUTOS
	 *----------------------------------------------------------*/
	
	private int id;
	
	private Date data;
	
	private float total;
	
	private Cliente cliente;
	
	private Status status;
	
	private List<ItemVenda> itens;

	/*----------------------------------------------------------
	 * FIM ATRIBUTOS
	 *----------------------------------------------------------*/

	/*----------------------------------------------------------
	 * CONSTRUTOR
	 *----------------------------------------------------------*/

	/**
	 * 
	 */
	public Venda() {
		super();
	}

	/*----------------------------------------------------------
	 * FIM DE CONSTRUTOR
	 *----------------------------------------------------------*/

	/*----------------------------------------------------------
	 * GETS E SETS
	 *----------------------------------------------------------*/

	/**
	 * @return the id
	 */
	public int getId() {
		return id;
	}

	/**
	 * @param id the id to set
	 */
	public void setId(int id) {
		this.id = id;
	}

	/**
	 * @return the data
	 */
	public Date getData() {
		return data;
	}

	/**
	 * @param data the data to set
	 */
	public void setData(Date data) {
		this.data = data;
	}

	/**
	 * @return the total
	 */
	public float getTotal() {
		return total;
	}

	/**
	 * @param total the total to set
	 */
	public void setTotal(float total) {
		this.total = total;
	}

	/**
	 * @return the cliente
	 */
	public Cliente getCliente() {
		return cliente;
	}

	/**
	 * @param cliente the cliente to set
	 */
	public void setCliente(Cliente cliente) {
		this.cliente = cliente;
	}

	/**
	 * @return the status
	 */
	public Status getStatus() {
		return status;
	}

	/**
	 * @param status the status to set
	 */
	public void setStatus(Status status) {
		this.status = status;
	}

	/**
	 * @return the itensVenda
	 */
	public List<ItemVenda> getItens() {
		return itens;
	}

	/**
	 * @param itensVenda the itensVenda to set
	 */
	public void setItens(List<ItemVenda> itens) {
		this.itens = itens;
	}
	
	

	/*----------------------------------------------------------
	 * FIM DE GETS E SETS
	 *----------------------------------------------------------*/

}
